|
1: |
|
app(app(plus,0),y) |
→ y |
2: |
|
app(app(plus,app(s,x)),y) |
→ app(s,app(app(plus,x),y)) |
3: |
|
app(app(map,f),nil) |
→ nil |
4: |
|
app(app(map,f),app(app(cons,x),xs)) |
→ app(app(cons,app(f,x)),app(app(map,f),xs)) |
5: |
|
app(app(app(curry,g),x),y) |
→ app(app(g,x),y) |
6: |
|
inc |
→ app(map,app(app(curry,plus),app(s,0))) |
|
There are 13 dependency pairs:
|
7: |
|
APP(app(plus,app(s,x)),y) |
→ APP(s,app(app(plus,x),y)) |
8: |
|
APP(app(plus,app(s,x)),y) |
→ APP(app(plus,x),y) |
9: |
|
APP(app(plus,app(s,x)),y) |
→ APP(plus,x) |
10: |
|
APP(app(map,f),app(app(cons,x),xs)) |
→ APP(app(cons,app(f,x)),app(app(map,f),xs)) |
11: |
|
APP(app(map,f),app(app(cons,x),xs)) |
→ APP(cons,app(f,x)) |
12: |
|
APP(app(map,f),app(app(cons,x),xs)) |
→ APP(f,x) |
13: |
|
APP(app(map,f),app(app(cons,x),xs)) |
→ APP(app(map,f),xs) |
14: |
|
APP(app(app(curry,g),x),y) |
→ APP(app(g,x),y) |
15: |
|
APP(app(app(curry,g),x),y) |
→ APP(g,x) |
16: |
|
INC |
→ APP(map,app(app(curry,plus),app(s,0))) |
17: |
|
INC |
→ APP(app(curry,plus),app(s,0)) |
18: |
|
INC |
→ APP(curry,plus) |
19: |
|
INC |
→ APP(s,0) |
|
The approximated dependency graph contains one SCC:
{8,10,12-15}.